

import { getRequest, postRequest } from '@/lib/axios';
import { USERLOGINLIST, USERLIST, USERBANNED,USERINVITE } from '@/config/api-constant/moby'

// 获取用户列表
export const userListApi = (param) => {
    return getRequest(USERLIST, param)
}

// 获取登录信息

export const userLoginListApi = (param) => {
    return getRequest(USERLOGINLIST, param)
}

// 用户封禁/解禁

export const userBannedApi = (param) => {
    return postRequest(USERBANNED, param)
}

//邀请记录
export const userInviteListApi = (param) => {
    return getRequest(USERINVITE, param)
}

//地址
export const userAddressListApi = (param) => {
    return getRequest('/mobybox/user_address', param)
}
